﻿using System;
using System.Collections.Generic;

namespace NetTopologySuite.CoordinateSystems
{
	public class NamedCRS : CRSBase
	{
		public NamedCRS(string name)
		{
			if (name == null)
			{
				throw new System.ArgumentNullException("name");
			}
			if (string.IsNullOrEmpty(name))
			{
				throw new ArgumentOutOfRangeException("name", "May not be empty");
			}
			base.Properties = new Dictionary<string, object>
			{
				{
					"name",
					name
				}
			};
			base.Type = CRSTypes.Name;
		}
	}
}
